package com.ruihu.admin.common.log;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 响应日志对象
 */
@Accessors(chain = true)
@Data
public class ResponseLogObject {

    @JsonProperty(index = 1)
    private String eventName;

    @JsonProperty(index = 2)
    private String traceId;

    @JsonProperty(index = 3)
    private String msg;

    @JsonProperty(index = 4)
    private long costTime;

    @JsonProperty(index = 5)
    private long userId;

    @JsonProperty(index = 6)
    private Object result;
}
